#ifndef HITBOX_H_
#define HITBOX_H_

#include "entity.h"

declare_body(hitbox, {
	vec position;
	vec size;
})

void add_hitbox(entity*, float x, float y, float width, float height);
int check_hitbox(entity*, vec pos);
int check_hitbox_v(entity*, vec pos, vec last);

#endif